
#ifndef __IMG_INFO_H
#define	__IMG_INFO_H

#include <stdint.h>

#ifdef	__cplusplus
extern "C" {
#endif

#include "./img/c_file/bmp_c_src.h"

    #define  img_flash_address_start          0x08400000
    #define  img_flash_size                   (3*1024*1024)

    #define  img_list_address                 0x08400400
    #define  font_list_address                0x08400000
    
    #define  img_list  ((const unsigned short  ** )(img_list_address))
    #define  font_list ((const uint8_t ** )(font_list_address))
        
    uint16_t gb2312_get(uint16_t wch);
    uint8_t img_lib_err_check(void);
    
    
    #define  FONT_POS_GB2312_24         0
    #define  FONT_POS_ASCII_24          1
    #define  FONT_POS_ASCII_32          2
    #define  FONT_POS_ASCII_40          3
    #define  FONT_POS_ASCII_48          4
    #define  FONT_POS_ASCII_56          5
    #define  FONT_POS_ASCII_64          6
    #define  FONT_POS_ASCII_72          7
    #define  FONT_POS_ASCII_80          8
    #define  FONT_POS_ASCII_96          9
    #define  FONT_POS_ASCII_112         10
    #define  FONT_POS_ASCII_128         11
    #define  FONT_POS_ASCII_18          12
	#define  FONT_POS_GB2312_18         13
    
    #define FONT_POS_ASCII_END          FONT_POS_GB2312_18
    #define IMG_POS_END                 IMG_POS_bmp_c_view
    

    
    extern const char * const free_heart[];
    extern const char * const lian_hua[];
    extern const char * const my_heart[];
    extern const char * const leave_me[];
    extern const char * const life[];
    extern const char * const fairy[];
    extern const char * const insist[];
    extern const char * const someone[];
    
#ifdef	__cplusplus
}
#endif

#endif	/* __IMG_INFO_H */
